import request from '@/utils/request'

// 查询HPV接种信息列表
export function listHpvorder(query) {
  return request({
    url: '/system/hpvorder/list',
    method: 'get',
    params: query
  })
}

// 查询HPV接种信息详细
export function getHpvorder(id) {
  return request({
    url: '/system/hpvorder/' + id,
    method: 'get'
  })
}

// 新增HPV接种信息
export function addHpvorder(data) {
  return request({
    url: '/system/hpvorder',
    method: 'post',
    data: data
  })
}

// 修改HPV接种信息
export function updateHpvorder(data) {
  return request({
    url: '/system/hpvorder',
    method: 'put',
    data: data
  })
}

// 批量修改HPV接种信息
export function updateAllHpvorder(data) {
  return request({
    url: '/system/hpvorder/allupdate',
    method: 'put',
    data: data
  })
}

// 删除HPV接种信息
export function delHpvorder(id) {
  return request({
    url: '/system/hpvorder/' + id,
    method: 'delete'
  })
}
